package model.admin;

import org.springframework.web.multipart.MultipartFile;
import lombok.Data;
@Data
public class Goods {
	private int id;
	private String gname;
	private double goprice;
	private double grprice;
	private int gstore;
	private MultipartFile gpictureForm;//与表单相同，封装文件信息
	private String gpicture;//与数据表字段相同，对应上传后的文件名
	private int goodstype_id;
	private String typename;
	private int isshow;

	public String getGname() {
		return gname;
	}

	public void setGname(String gname) {
		this.gname = gname;
	}

	public int getGoodstype_id() {
		return goodstype_id;
	}

	public void setGoodstype_id(int goodstype_id) {
		this.goodstype_id = goodstype_id;
	}

	public double getGoprice() {
		return goprice;
	}

	public void setGoprice(double goprice) {
		this.goprice = goprice;
	}

	public String getGpicture() {
		return gpicture;
	}

	public void setGpicture(String gpicture) {
		this.gpicture = gpicture;
	}

	public MultipartFile getGpictureForm() {
		return gpictureForm;
	}

	public void setGpictureForm(MultipartFile gpictureForm) {
		this.gpictureForm = gpictureForm;
	}

	public double getGrprice() {
		return grprice;
	}

	public void setGrprice(double grprice) {
		this.grprice = grprice;
	}

	public int getGstore() {
		return gstore;
	}

	public void setGstore(int gstore) {
		this.gstore = gstore;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIsshow() {
		return isshow;
	}

	public void setIsshow(int isshow) {
		this.isshow = isshow;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}
}
